package com.lagou.bean;

import org.I0Itec.zkclient.exception.ZkMarshallingError;
import org.I0Itec.zkclient.serialize.ZkSerializer;

/*
 * @className jdbc
 * @description
 * @author admin
 * @date 2022/7/8 23:24
 * */
public class Jdbc {
    private String driverName;
    private String url;
    private String user;
    private String password;

    public Jdbc() {
    }

    public Jdbc(String driverName, String url, String user, String password) {
        this.driverName = driverName;
        this.url = url;
        this.user = user;
        this.password = password;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return driverName+" "+url+" "+user+" "+password;
    }
}
